package com.ruoyi.file.aliyun;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "aliyun.oss")
@PropertySource("classpath:aliyun.oss.properties") //加载指定配置文件(也可以加载yaml，如果是默认配置文件，则可以不加载)
public class AliyunOSSProp {
    private String bucketName;
    private String accessKey;
    private String accessKeySecret;
    private String endpoint;
    private String filePath;    //存储的路径
}
